#include "init.h"
#pragma once
class SkyBox
{
public:
	SkyBox(IDirect3DDevice9 *d3ddev);
	LPDIRECT3DVERTEXBUFFER9& getVBuffer() { return m_vbuffer; };
	LPDIRECT3DINDEXBUFFER9& getIBuffer() { return m_ibuffer; };
	LPDIRECT3DTEXTURE9& getTexture() { return m_texture; };
	~SkyBox();
private:
	struct CUSTOMVERTEX { FLOAT X, Y, Z; DWORD COLOR; FLOAT U, V; };
	LPDIRECT3DVERTEXBUFFER9 m_vbuffer = NULL;
	LPDIRECT3DINDEXBUFFER9 m_ibuffer = NULL;
	LPDIRECT3DTEXTURE9 m_texture = NULL;
	float sizeX = 1;
	float sizeY = 48;
	float sizeZ = 48;
};
